<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>过渡</title>
		<style type="text/css">
			.box{
				width: 100px;
				height: 400px;
				background-color: paleturquoise;
				/* 过渡
				 默认值ease：慢快慢
				 ease-in: 	低速开始
				 ease-out 		低速结束
				 ease-in-out: 低速开始和低速结束
				 linear:匀速*/
				/* transition: width 3s linear 1s;	 */
				transition: all 3s linear 1s;		/* 两种不同背景颜色过渡	 */		
			}
			.box:hover{
				width: 1200px;
				background-color: aqua;
			}
		</style>
	</head>
	<body>
		<div class="box"></div>
	</body>
</html>
